﻿namespace PugLib.UnitTest
{
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    [TestClass]
    public class TaskDialogTest
    {
        [TestMethod]
        public void TaskDialogSample()
        {
            //TaskDialog taskDialog = new TaskDialog
            //                            {
            //                                WindowTitle = "TaskDialog Test",
            //                                MainInstruction = "Does this look better than the default Windows message box?",
            //                                EnableHyperlinks = false,
            //                                Content = "Or do you",
            //                                VerificationText = "Don't ask me this ever again.",
            //                                VerificationChecked = false,
            //                                UseCommandLinks = true
            //                            };

            //TaskDialogButton a = new TaskDialogButton { ButtonId = 101, ButtonText = "Yes, a lot.\nThis is an extra line" };
            //TaskDialogButton b = new TaskDialogButton { ButtonId = 102, ButtonText = "Yes, a little bit" };
            //TaskDialogButton c = new TaskDialogButton { ButtonId = 103, ButtonText = "No, go home, wanker." };

            //taskDialog.Buttons = new[] { a, b, c };

            //bool dontShowAgain;
            //int result = taskDialog.Show(out dontShowAgain);
            //if (dontShowAgain)
            //{
            //    // Suppress future asks.
            //}
            //if (result == a.ButtonId)
            //{
            //    // Do it.
            //}
        }
    }
}